/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.capex.javacore.clases;

import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Acer
 */
public class UseOfSuperClass extends Object{


    public static void main(String[] args) {
        UseOfSuperClass sup = new UseOfSuperClass();
        System.out.println(sup);

        try {
            Object clone = sup.clone();
            System.out.println("Cloned: "+clone);
        } catch (CloneNotSupportedException ex) {
            System.out.println("Error while cloning");
        }

        System.out.println(sup.getClass());

    }
}
